@import './variable';
@import './themes';
@import './themes-style';

@import './base/init';
@import './base/switch';
@import './base/avatar';
@import './base/bar';
@import './base/bg';
@import './base/btn';
@import './base/card';
@import './base/chat';
@import './base/flex';
@import './base/form';
@import './base/grid';
@import './base/line';
@import './base/list';
@import './base/margin';
@import './base/modal';
@import './base/progress';
@import './base/steps';
@import './base/swiper';
@import './base/tag';
@import './base/text';
@import './base/timeline';
@import './base/highwide';

.DrawerPage {
	position: fixed;
	width: 100vw;
	height: 100vh;
	left: 0vw;
	background-color: #f1f1f1;
	transition: all 0.4s;
}

.DrawerPage.show {
	transform: scale(0.9, 0.9);
	left: 85vw;
	box-shadow: 0 0 60upx rgba(0, 0, 0, 0.2);
	transform-origin: 0;
}

.DrawerWindow {
	position: absolute;
	width: 85vw;
	height: 100vh;
	left: 0;
	top: 0;
	transform: scale(0.9, 0.9) translateX(-100%);
	opacity: 0;
	pointer-events: none;
	transition: all 0.4s;
	padding: 100upx 0;
}

.DrawerWindow.show {
	transform: scale(1, 1) translateX(0%);
	opacity: 1;
	pointer-events: all;
}

.DrawerClose {
	position: absolute;
	width: 40vw;
	height: 100vh;
	right: 0;
	top: 0;
	color: transparent;
	padding-bottom: 30upx;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));
	letter-spacing: 5px;
	font-size: 50upx;
	opacity: 0;
	pointer-events: none;
	transition: all 0.4s;
}

.DrawerClose.show {
	opacity: 1;
	pointer-events: all;
	width: 15vw;
	color: #fff;
}

.DrawerPage .cu-bar.tabbar .action button.cuIcon {
	width: 64upx;
	height: 64upx;
	line-height: 64upx;
	margin: 0;
	display: inline-block;
}

.DrawerPage .cu-bar.tabbar .action .cu-avatar {
	margin: 0;
}

.DrawerPage .nav {
	flex: 1;
}

.DrawerPage .nav .cu-item.cur {
	border-bottom: 0;
	position: relative;
}

.DrawerPage .nav .cu-item.cur::after {
	content: '';
	width: 100%;
	height:6upx;
	background-color: currentColor;
	position: absolute;
	bottom: 10upx;
	border-radius: 10upx;
	left: 0;
	right: 0;
	margin: auto;
}

.DrawerPage .cu-bar.tabbar .action {
	flex: initial;
}
.self-fixed{
	position: fixed;
	left: 50rpx;
	right: 50rpx;
	bottom: 50rpx;
}

.self-img-xs{
	width: 40rpx;
	height: 40rpx;
}
.self-img-sm{
	width: 50rpx;
	height: 50rpx;
}
.self-img{
	width: 60rpx;
	height: 60rpx;
}
.self-img-lg{
	width: 70rpx;
	height: 70rpx;
}
.self-img-xl{
	width: 80rpx;
	height: 80rpx;
}

.opacity{
	opacity:0.7
}